<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<style>
	.form-item {
		margin: 20px 10px;
		text-align: left;
		margin-left: 35px;
	}
	
	.form-item>label {
		letter-spacing: 3px;
		width: 110px;
		text-align: right;
		display: inline-block;
	}
	
	.form-item>label:AFTER {
		content: ":";
	}
	
	.form-item input[type=text] {
		width: 100px;
		padding: 5px;
	}
	
	.form-item.required>label:BEFORE {
		content: "*";
		color: red;
	}
</style>
<form id="AddclassForm" style="margin-top: 10px;">
	<input type="hidden" name="id" value="${classId}">
	<h3 style="text-align: center;">${classId==null?'添加':'编辑' }班级信息</h3>
	<div class="form-item required">
		<label for="">班级名称</label>
		<input value="${classList.className }" type="text" data-options="required:true" class="easyui-textbox" name="className">
	</div>
	<div class="form-item">
		<label for="">班主任姓名</label>
		<select style="height:24px;border-radius: 5px;border-color: dodgerblue;width: 100px; " name="classTeacherName">
		<c:forEach items="${classteacher }" var ="x">
			<option value="${x.userinfo_id }" ${classTeacherOne==x.user_account?'selected':'' }>${x.user_account }</option>
		</c:forEach>
		</select>
		
	</div>
	<div  class="form-item">
		<label for="">任课教员</label>
		<select  style="height:24px;border-radius: 5px;border-color: dodgerblue;width: 100px; "name="jiaoyuanName">
			<c:forEach items="${teacher }" var="y">
				<option value="${y.userinfo_id }" ${teacherOne==y.user_account?'selected':'' }>${y.user_account }</option>
			</c:forEach>
		</select>
	</div>
</form>